# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/media/sda6/Project/PyQt/MMC/login.ui'
#
# Created: Sat Jan 10 14:09:43 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_LoginDlg(object):
    def setupUi(self, LoginDlg):
        LoginDlg.setObjectName("LoginDlg")
        LoginDlg.setWindowModality(QtCore.Qt.ApplicationModal)
        LoginDlg.resize(QtCore.QSize(QtCore.QRect(0,0,219,122).size()).expandedTo(LoginDlg.minimumSizeHint()))
        LoginDlg.setModal(True)

        self.gridlayout = QtGui.QGridLayout(LoginDlg)
        self.gridlayout.setObjectName("gridlayout")

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName("gridlayout1")

        self.label = QtGui.QLabel(LoginDlg)
        self.label.setObjectName("label")
        self.gridlayout1.addWidget(self.label,0,0,1,1)

        self.label_2 = QtGui.QLabel(LoginDlg)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2,1,0,1,1)

        self.pwdEdt = QtGui.QLineEdit(LoginDlg)
        self.pwdEdt.setEchoMode(QtGui.QLineEdit.Password)
        self.pwdEdt.setObjectName("pwdEdt")
        self.gridlayout1.addWidget(self.pwdEdt,1,1,1,1)

        self.buttonBox = QtGui.QDialogButtonBox(LoginDlg)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(True)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout1.addWidget(self.buttonBox,2,0,1,2)

        self.userNameEdt = QtGui.QLineEdit(LoginDlg)
        self.userNameEdt.setObjectName("userNameEdt")
        self.gridlayout1.addWidget(self.userNameEdt,0,1,1,1)
        self.gridlayout.addLayout(self.gridlayout1,0,0,1,1)
        self.label.setBuddy(self.userNameEdt)
        self.label_2.setBuddy(self.pwdEdt)

        self.retranslateUi(LoginDlg)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),LoginDlg.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),LoginDlg.reject)
        QtCore.QMetaObject.connectSlotsByName(LoginDlg)
        LoginDlg.setTabOrder(self.userNameEdt,self.pwdEdt)
        LoginDlg.setTabOrder(self.pwdEdt,self.buttonBox)

    def retranslateUi(self, LoginDlg):
        LoginDlg.setWindowTitle(QtGui.QApplication.translate("LoginDlg", "Login Form", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("LoginDlg", "User Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("LoginDlg", "Password:", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    LoginDlg = QtGui.QDialog()
    ui = Ui_LoginDlg()
    ui.setupUi(LoginDlg)
    LoginDlg.show()
    sys.exit(app.exec_())
